package com.xszx.entity;


import java.util.Arrays;

public class GoodInOutInfo {
    private Integer id;//id
    private String wid;//仓库id
    private String wnumber;//仓库编号
    private String wname;//仓库名
    private Integer rid;//区域id
    private String rcode;//区域编号
    private String rlocation;//区域类型位置
    private String gname;//货物名称
    private String gtype;//货物类型
    private Integer money;//货物价格
    private Integer gnum;//货物数量
    private String gbatch;//批次
    private String time;//出库或入库时间
    private Integer area;//占地面积
    private String opreation_type;//操作类型
    private Integer positionIds[];//类型id
    private Client client;

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getWid() {
        return wid;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    public String getWnumber() {
        return wnumber;
    }

    public void setWnumber(String wnumber) {
        this.wnumber = wnumber;
    }

    public String getWname() {
        return wname;
    }

    public void setWname(String wname) {
        this.wname = wname;
    }

    public String getRcode() {
        return rcode;
    }

    public void setRcode(String rcode) {
        this.rcode = rcode;
    }

    public String getRlocation() {
        return rlocation;
    }

    public void setRlocation(String rlocation) {
        this.rlocation = rlocation;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getGtype() {
        return gtype;
    }

    public void setGtype(String gtype) {
        this.gtype = gtype;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getGnum() {
        return gnum;
    }

    public void setGnum(Integer gnum) {
        this.gnum = gnum;
    }

    public String getGbatch() {
        return gbatch;
    }

    public void setGbatch(String gbatch) {
        this.gbatch = gbatch;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    public String getOpreation_type() {
        return opreation_type;
    }

    public void setOpreation_type(String opreation_type) {
        this.opreation_type = opreation_type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer[] getPositionIds() {
        return positionIds;
    }

    public void setPositionIds(Integer[] positionIds) {
        this.positionIds = positionIds;
    }

    public Client getClient() {
        return client;
    }

    public void setClient(Client client) {
        this.client = client;
    }

    @Override
    public String toString() {
        return "GoodInOutInfo{" +
                "id=" + id +
                ", wid='" + wid + '\'' +
                ", wnumber='" + wnumber + '\'' +
                ", wname='" + wname + '\'' +
                ", rid=" + rid +
                ", rcode='" + rcode + '\'' +
                ", rlocation='" + rlocation + '\'' +
                ", gname='" + gname + '\'' +
                ", gtype='" + gtype + '\'' +
                ", money=" + money +
                ", gnum=" + gnum +
                ", gbatch='" + gbatch + '\'' +
                ", time='" + time + '\'' +
                ", area=" + area +
                ", opreation_type='" + opreation_type + '\'' +
                ", positionIds=" + Arrays.toString(positionIds) +
                ", client=" + client +
                '}';
    }
}
